﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DAL
{
    public class Product
    {
        [Key]
        public int ProductId { get; set; }
        public string productName { get; set; }
        public decimal productPrise { get; set; }
        public string productDescription { get; set; }
        [Column(TypeName = "image")]
        public byte[] image { get; set; }
        [System.ComponentModel.Browsable(false)]
        public ProductCategory category { get; set; }
    }
}
